/** 微信浏览器判断
 **/
export const isWeiXin = () => {
  const ua = window?.navigator?.userAgent?.toLowerCase() || '';

  return ua.match(/MicroMessenger/i) == 'micromessenger'
}
